public class Flight {
    public String id;       //航班号
    public int Time;        //起飞时间
    public String type;     //机型

    public Flight() {
        this(null,0,null);
    }

    public Flight(String id, int time, String type) {
        this.id = id;
        Time = time;
        this.type = type;
    }

    @Override
    public String toString() {
        return "航班号:" + id + "  起飞时间:" + Time/100 + ":" + Time%100 + "  机型:" + type;
    }
}
